package com.baizhi.security.filter.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * ClassName: KaptchaNotMatchException
 * Description: 自定义验证码异常
 * Date: 2022/11/05 PM 1:47
 * <p>
 * project: codes
 * package: com.baizhi.security.filter.exception
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
public class KaptchaNotMatchException extends AuthenticationException {


    /**
     * Constructs an {@code AuthenticationException} with the specified message and root
     * cause.
     *
     * @param msg   the detail message
     * @param cause the root cause
     */
    public KaptchaNotMatchException(String msg, Throwable cause) {
        super(msg, cause);
    }

    /**
     * Constructs an {@code AuthenticationException} with the specified message and no
     * root cause.
     *
     * @param msg the detail message
     */
    public KaptchaNotMatchException(String msg) {
        super(msg);
    }
}
